<%# helper/header_simple.html %>

<div class="main-container" id="main-container">
    <div class="clue-top">
        <% if(this.cluelist.info){ var cluetop = this.cluelist.info; %>
        <div class="clue-title">

            <h2 class=""><%= cluetop.title %></h2>

        </div>
        <p class="pd-100"><%= cluetop.description %></p>
        <% } %>
    </div>
    <div class="content-item">
        <div class="lists" id="clue-list" temId="j-tmpl-cluelist">

        </div>
    </div>
    <div class="drop-down-wrapper">
        <div class="msg drop-down-msg active">上滑显示更多</div>
        <div class="msg data-loading">
            <div></div>
            加载中
        </div>
        <div class="msg no-data">已经没有了</div>
    </div>
</div>

<script id="j-tmpl-cluelist" type="text/template">
    {{ for(var i = 0; i < it.list.length; i++){ }}
    <a class="item" data-type="{{=it.list[i].type}}" data-id="{{=it.list[i].id}}" href="veryside://link?type={{=it.list[i].type}}&id={{=it.list[i].id}}">

        <div class="index-img {{= it.list[i].type != 10 ? 'other-img' : 'acticle-img'}} lazy" data-original="{{=it.list[i].thumb}}"></div>
        <div class="img-des-block">
            <p>{{= it.list[i].type == 10 ? (it.list[i].tag || '' ) : (it.list[i].title || '') }}</p>
            <p>{{= it.list[i].type == 10 ? (it.list[i].title || '') : (it.list[i].summary || '' ) }}</p>
        </div>
        <div class="heart-num">
            <span></span>
            <em>{{=it.list[i].loves}}</em>
        </div>
    </a>
    {{ } }}
</script>

<%# helper/footer.html %>
